package com.have.blog.model.mapper;

import com.have.blog.model.models.TSubjectItem;
import com.have.blog.model.models.TSubjectItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSubjectItemMapper {
    long countByExample(TSubjectItemExample example);

    int deleteByExample(TSubjectItemExample example);

    int deleteByPrimaryKey(String uid);

    int insert(TSubjectItem record);

    int insertSelective(TSubjectItem record);

    List<TSubjectItem> selectByExample(TSubjectItemExample example);

    TSubjectItem selectByPrimaryKey(String uid);

    int updateByExampleSelective(@Param("record") TSubjectItem record, @Param("example") TSubjectItemExample example);

    int updateByExample(@Param("record") TSubjectItem record, @Param("example") TSubjectItemExample example);

    int updateByPrimaryKeySelective(TSubjectItem record);

    int updateByPrimaryKey(TSubjectItem record);
}